package com.csun.cmny.provider.device.phone.entity;

import com.csun.cmny.provider.model.enums.device.DeviceStatusEnum;
import lombok.Data;

import java.io.Serializable;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-02-20 10:39
 * @Description: the class phone data entity
 */
@Data
public class PhoneDataEntity implements Serializable {

    private static final long serialVersionUID = -2191640411484155111L;

    /**
     * 设备Id
     */
    private Long deviceId;

    /**
     * 设备编号
     */
    private String deviceNo;

    /**
     * 信号强度
     */
    private Integer signal = 0;

    /**
     * 供电电压
     */
    private String svtg = "--";

    /**
     * 输出电压
     */
    private String ovtg = "--";

    /**
     * 电池电压
     */
    private String bvtg = "--";

    /**
     * 状态, offline-离线，online-在线
     */
    private String status = DeviceStatusEnum.OFFLINE.getKey();

    /**
     * 是否布防 0-撤防 1-布防
     */
    private Integer arming = 0;

    /**
     * 机构Id
     */
    private Long groupId;
}
